home *** CD-ROM | disk | FTP | other *** search
/ PC Media 2 / PC MEDIA CD02.iso / share / udos / fgrep103 / global.cpp < prev    next >
Encoding:
C/C++ Source or Header  |  1992-05-29  |  813 b   |  16 lines

  1. /* global flags for bm */
  2. int  cFlag = 0, /* true if we want only a count of matching lines */
  3.      fFlag = 0, /* true if the patterns arew to come from a file */
  4.      lFlag = 0, /* true if we want a list of files containing the pattern */
  5.      nFlag = 0, /* true if we want the character offset of the pattern */
  6.      sFlag = 0, /* true if we want silent mode */
  7.      xFlag = 0, /* true if we want only lines which match entirely */
  8.      mFlag = 1, /* true if we do not want case sensitivity */
  9.      eFlag = 0, /* indicates that next argument is the pattern */
  10.      hFlag = 0, /* true if we want no filenames in output */
  11.      zFlag = 0, // Allout fast go go go
  12.      MatchCount = 0; /* count of number of times a search string was found
  13.                       * in the text */
  14.  
  15. char *FileName = 0;
  16.